package cloud.xiangyixiang.www.spring.boot.java.basics.pojo.bo;

/**
 * <p>
 * BookConsumer
 * </p>
 *
 * @author weixin
 * @date 2023/9/21 14:26
 */
public class BookConsumer {

    private String bookName;

    private Integer price;

    public BookConsumer(String bookName, Integer price) {
        this.bookName = bookName;
        this.price = price;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "BookConsumer{" +
                "bookName='" + bookName + '\'' +
                ", price=" + price +
                '}';
    }
}
